package com.qingshu.common.entity.custom.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author Huzz
 * @since 2021-12-09
 */
@Data
@ApiModel(value="MusicUpdateModel", description="音乐修改")
public class MusicUpdateModel{

    @ApiModelProperty(value = "ID", required = true, example = "123")
    private Integer id;

    @ApiModelProperty(value = "音乐名称")
    private String musicName;

    @ApiModelProperty(value = "音乐类型id", example = "123")
    private Integer musicTypeId;

    @ApiModelProperty(value = "歌手ID", example = "123")
    private Integer singerId;

    @ApiModelProperty(value = "专辑ID", example = "123")
    private Integer albumId;

    @ApiModelProperty(value = "发行时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date publishDate;

}
